package com.fingard.dsp.bank.reqrespobj.elecbilltrans.detail;

import com.fingard.xml.XElement;

/**
 * Created by dell on 2017/10/1.
 */
public class ReqB102BillAccpSubmitDetail {
    public String reqSeqID;
    public String actNum;
    public String billNo;
    //    票据币种
    public String billCur;
    public String mustPay;
    public String contractNo;

    public String invoiceNo;
    public String memo;
    public String drawName;
    public String drawBnkCode;
    public String actArea;
    public String billType;

    public String issDate;
    public String dueDate;
    public String billAmt;
    public String transFlag;
    public String payeeName;
    //    业务流水号
    public String busiNo;

    public String payeeAct;
    public String payeeBnkCode;
    // 出票人组织机构代码
    public String drawCode;

    public XElement srcElement;

    public ReqB102BillAccpSubmitDetail(XElement p_element) throws Exception {
        srcElement = p_element;
        reqSeqID = srcElement.getSingleText("ReqSeqID");
        actNum = srcElement.getSingleText("ActNum");
        actArea = srcElement.getSingleText("ActArea");
        billNo = srcElement.getSingleText("BillNo");
        billCur = srcElement.getSingleText("BillCur");
        mustPay = srcElement.getSingleText("MustPay");
        contractNo = srcElement.getSingleText("ContractNo");

        invoiceNo = srcElement.getSingleText("InvoiceNo");
        memo = srcElement.getSingleText("Memo");
        drawName = srcElement.getSingleText("DrawName");
        drawBnkCode = srcElement.getSingleText("DrawBnkCode");
        billType = srcElement.getSingleText("BillType");
        busiNo = srcElement.getSingleText("BusiNo");

        issDate = srcElement.getSingleText("IssDate");
        dueDate = srcElement.getSingleText("DueDate");
        billAmt = srcElement.getSingleText("BillAmt");
        transFlag = srcElement.getSingleText("TransFlag");
        payeeName = srcElement.getSingleText("PayeeName");

        payeeAct = srcElement.getSingleText("PayeeAct");
        payeeBnkCode = srcElement.getSingleText("PayeeBnkCode");
        drawCode = srcElement.getSingleText("DrawCode");

    }
}
